//
//  SKIndoorMapView.h
//  IndoorMapDemo
//
//  Created by silverk on 14-8-3.
//  Copyright (c) 2014年 silverk. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "PopoverView.h"
#import "SpotEntity.h"
#import "ParkEntity.h"

@protocol SKIndoorMapViewDelegate <NSObject>

- (void) pushAction:(SpotEntity *)entity ArraySpot:(NSMutableArray *)array Index:(NSInteger) index;

@end

@interface SKIndoorMapView : UIScrollView<UIScrollViewDelegate,PopoverViewDelegate>

@property (assign) id <SKIndoorMapViewDelegate> mapImageViewDelegate;

@property (nonatomic, strong) UIImageView *mapView;
@property (nonatomic, strong) UIImageView *mapRouteView;
@property (nonatomic, strong) NSMutableArray *mutableArrayHotButton;
@property (nonatomic, strong) NSMutableArray *mutableArraySpot;
@property (assign) CGFloat mScale;
@property (assign) CGFloat lastScale;
@property (assign) CGFloat lastWidth;
@property (assign) CGFloat lastHeight;

-(id)initWithIndoorMapImageName:(ParkEntity*)parkEntityindoorMap
                          Frame:(CGRect)frame
                          Array:(NSMutableArray *)array;

- (void) showHotPointByType:(NSString *)type;
- (void)addRouteMap: (UIImage *)image;

@end
